<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=utf-8" language="java" %>
<html style="height: 100%">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
	*{
		box-sizing: border-box;
		margin: 0;
		padding: 0;
	}
	div{
		width: 100%;
		height:100%;
		padding-left: 2%;
		
	 }
	 #d1{
	 	width: 95%;
	 	height: 5%;
	 	background-color: #EEEEEE;
	 	padding-left: 50%;
	 	padding-top: 0.5%;
	 	
	 }
	  #d2{
	 	width: 95%;
	 	height: 95%;
	 	padding-top: 1%;  	
	 	font-family: "宋体";
	 	font-size: 18px;
	 	padding-left: 14%;
	 	
	 }
	 .t1{
	 	line-height: 55px;
	 	width: 90%;
	 	
	 }
	 .t1 select{
	 	height: 30px;
	 }
	 .t1 input{
	 	height: 30px;
	 	/* width: 80%; */
	 }
	 .i1{
	 	width: 100%;
	 }
	 .buttons{
	 	padding-left: 40%
	  }
	 .td1{
	 	text-align: right;
	 	
	 }
	 a{
	 	color: black;
	 	text-decoration: none;
	  }

</style>
</head>
<body style="height: 100%">
	<div>
		<div id="d1">编辑</div>
		<div id="d2">
	<form  action="" method="post">
	<table class="t1"  >
		<tr>
			<td class="td1">所属小区&nbsp;</td>
			<td><input type="text" name="h_estate" value="${house.h_estate}"></td>
			<td class="td1">单元号&nbsp;</td>
			<td><input type="text" name="h_unitNumber" value="${house.h_unitNumber}"></td>
			<td class="td1">所属楼层&nbsp;</td>
			<td><input type="text" name="h_floor" value="${house.h_floor}"></td>
		</tr>
		<tr>
			<td class="td1"> 房间号&nbsp;</td>
			<td><input type="text" name="h_roomNumber" value="${house.h_roomNumber}"></td>
			<td class="td1">面积&nbsp;</td>
			<td><input type="text" name="h_acreage" value="${house.h_acreage}"></td>
			<td class="td1"> 朝向&nbsp;</td>
			<td><select name="h_direction">
					<option>房间朝向</option>
					<option value="${house.h_direction=='朝东'?"checked":""}">朝东</option>
					<option value="${house.h_direction=='朝西'?"checked":""}">朝西</option>
					<option value="${house.h_direction=='朝南'?"checked":""}">朝南</option>
					<option value="${house.h_direction=='朝北'?"checked":""}">朝北</option>
				</select></td>
		</tr>
		<tr>
			<td class="td1">装修状态&nbsp;</td>
			<td><input type="text" name="h_fitment" value="${house.h_fitment}"></td>
			<td class="td1">限住人数&nbsp;</td>
			<td><input type="text" name="h_limit" value="${house.h_limit}"></td>
			<td class="td1">是否双气&nbsp;</td>
			<td><input type="radio" name="h_isDoubleAir" value="${house.h_isDoubleAir=='1'?"checked":""}">是
				<input type="radio" name="h_isDoubleAir" value="${house.h_isDoubleAir=='2'?"checked":""}">否</td>
		</tr>

		<tr>
			<td class="td1">配套措施&nbsp;</td>
			<td colspan="5"><input type="text" name="h_facility" class="i1" value="${house.h_facility}"></td>
		</tr>
		<tr>
			<td class="td1">详细地址&nbsp;</td>
			<td colspan="5" class="control">
				<input type="text" name="h_address" value="${house.h_address}"  class="i1" >
			</td>
		</tr>
		<tr>
			<td class="td1">房屋照片&nbsp;</td>
			<td colspan="5" class="control"><input type="file" name="h_img" placeholder="" class="i1" ></td>
		</tr>
		<tr>
			<td class="td1">房租价格（元/月）&nbsp;</td>
			<td colspan="5" class="control">
				<input type="text" name="h_price" value="${house.h_price}" placeholder="" class="i1" >
			</td>
		</tr>
		<!-- <tr>
			<td>出租状态</td>
			<td colspan="3" class="control">
				<select name="hrentStatus">
					<option>出租状态</option>
					<option value="1">已出租</option>
					<option value="2">未出租</option>
					<option value="3">停止出租</option>
				</select>
			</td>
		</tr> -->
		
	</table>
	<div class="buttons">
		<input  type="submit" value="保存">&nbsp;&nbsp;
		<a href="/houseQueryAll" target="i" >返回</a>
	</div>
	</form>
		</div>
	</div>
</body>
</html>